package com.shtel.paas.monitorcenter.config.management.alarm.config.service;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.github.pagehelper.PageInfo;
import com.shtel.paas.monitorcenter.config.management.alarm.config.entity.AlarmRulesHostEntity;
import com.shtel.paas.monitorcenter.config.management.alarm.config.entity.AlarmRulesHostVO;
import com.shtel.paas.monitorcenter.config.management.alarm.config.entity.AlarmRulesHostidDto;

/**
 * @Description: 告警个性化配置接口
 * @author zhangyy
 * @date 2018年5月31日
 */
@Repository
public interface WarningPersonalizedConfigService {
	public PageInfo<AlarmRulesHostVO> selectAll(String monitoringIndex,
			Integer page, Integer pageSize);

	public List<AlarmRulesHostEntity> selectMonitorIndex();

	public int updateConfig(AlarmRulesHostidDto alarmConfigParam);

	public int insertConfig(AlarmRulesHostidDto param);

	/*
	 * 更新选择ip操作
	 */
	public int updateWarningPersonalizedSelectIps(AlarmRulesHostidDto param);

	public int deleteConfig(String desc);
}
